package com.jms.web.controller.jms.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jms.common.annotation.Excel;
import com.jms.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 企业对象 enterprise
 *
 * @author drx
 * @date 2024-04-29
 */
public class Enterprise extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    private Long id;

    /**
     * 企业名称
     */
    @Excel(name = "企业名称")
    private String enterpriseName;

    /**
     * 法人
     */
    @Excel(name = "法人")
    private String corporation;

    /**
     * 联系人
     */
    @Excel(name = "联系人")
    private String contactPerson;

    /**
     * 联系电话
     */
    @Excel(name = "联系电话")
    private String contactPhone;

    /**
     * 社会统一信用代码
     */
    @Excel(name = "社会统一信用代码")
    private String creditCode;

    /**
     * 区划编码
     */
    @Excel(name = "区划编码")
    private String areaCode;

    /*区域名称 编码转译*/
    private String areaName;

    /**
     * 企业规模
     */
    @Excel(name = "企业规模")
    private String enterpriseSize;

    /**
     * 批发和零售业
     */
    @Excel(name = "批发和零售业")
    private String industryType;

    /**
     * 删除标志（0代表存在 1代表删除）
     */
    private String delFlag;

    /**
     * 创建人姓名
     */
    @Excel(name = "创建人姓名")
    private String createName;

    /**
     * 修改人姓名
     */
    @Excel(name = "修改人姓名")
    private String updateName;

    /**
     * 通过时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "通过时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date transitTime;

    /*企业专员编号*/
    private Integer enterpriseCommissioner;

    /*企业专员姓名*/
    private String enterpriseCommissionerName;

    /** 最后一级 区划简码 */
    private String areaShortCode;

    public String getAreaShortCode() {
        return areaShortCode;
    }

    public void setAreaShortCode(String areaShortCode) {
        this.areaShortCode = areaShortCode;
    }

    public String getEnterpriseCommissionerName() {
        return enterpriseCommissionerName;
    }

    public void setEnterpriseCommissionerName(String enterpriseCommissionerName) {
        this.enterpriseCommissionerName = enterpriseCommissionerName;
    }

    public Integer getEnterpriseCommissioner() {
        return enterpriseCommissioner;
    }

    public void setEnterpriseCommissioner(Integer enterpriseCommissioner) {
        this.enterpriseCommissioner = enterpriseCommissioner;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setCorporation(String corporation) {
        this.corporation = corporation;
    }

    public String getCorporation() {
        return corporation;
    }

    public void setContactPerson(String contactPerson) {
        this.contactPerson = contactPerson;
    }

    public String getContactPerson() {
        return contactPerson;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setCreditCode(String creditCode) {
        this.creditCode = creditCode;
    }

    public String getCreditCode() {
        return creditCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setEnterpriseSize(String enterpriseSize) {
        this.enterpriseSize = enterpriseSize;
    }

    public String getEnterpriseSize() {
        return enterpriseSize;
    }

    public void setIndustryType(String industryType) {
        this.industryType = industryType;
    }

    public String getIndustryType() {
        return industryType;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getCreateName() {
        return createName;
    }

    public void setUpdateName(String updateName) {
        this.updateName = updateName;
    }

    public String getUpdateName() {
        return updateName;
    }

    public void setTransitTime(Date transitTime) {
        this.transitTime = transitTime;
    }

    public Date getTransitTime() {
        return transitTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("enterpriseName", getEnterpriseName())
                .append("corporation", getCorporation())
                .append("contactPerson", getContactPerson())
                .append("contactPhone", getContactPhone())
                .append("creditCode", getCreditCode())
                .append("areaCode", getAreaCode())
                .append("enterpriseSize", getEnterpriseSize())
                .append("industryType", getIndustryType())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("createName", getCreateName())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("updateName", getUpdateName())
                .append("transitTime", getTransitTime())
                .toString();
    }
}
